<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>22_2D-缩放-面试题</title>

        <style>
            #d1 {
                font-size: 12px;
            }

            #d2 {
                font-size: 20px;
                transform: scale(0.5);
            }
        </style>

    </head>
    <body>
        <div id="d1">尚硅谷</div>
        <div id="d2">尚硅谷</div>
    </body>
</html>